package com.weixin.engine.design.responsibility;

/**
 * 责任链模式
 *
 * @author wangchunhui
 * @date 2023/5/31 16:18
 */
public class FileLogger extends AbstractLogger {

    public FileLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("File::Logger: " + message);
    }
}